github.com/gotd/td/telegram.Client.cdnPools (field)

7 uses

	github.com/gotd/td/telegram (current package)
		cdn_conn_dead.go#L34: 		c.cdnPools.invalidateDC(dcID)
		client.go#L153: 	cdnPools cdnPoolManager
		client.go#L381: 	c.cdnPools = newCDNPoolManager()
		connect.go#L276: 		cdnConns := c.cdnPools.drain()
		metrics.go#L216: 		o.ObserveInt64(m.pools, int64(c.cdnPools.count()), attrCDN)
		pool.go#L263: 	if cached, ok := c.cdnPools.acquire(dc, need); ok {
		pool.go#L276: 	handle, reused := c.cdnPools.publishOrAcquire(dc, need, created)